package com.ruoyi.hospital.domain.pharmacistInfo;

import com.ruoyi.common.core.domain.NewBaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;

/**
 * 药师信息，用于存储药师的基本信息和状态对象 pharmacist_info
 * 
 * @author ruoyi
 * @date 2024-08-14
 */
public class PharmacistInfo extends NewBaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String pharmacistName;

    /** 头像 */
    private String pharmacistAvatar;
    private String nickName;
    private String openid;

    /** 手机号 */
    @Excel(name = "手机号")
    private String phone;

    /** 密码 */
    private String password;

    /** 所属药店 */
    @Excel(name = "所属药店")
    private String storeName;

    private Integer storeId;

    /** 职称 */
    @Excel(name = "职称")
    private String phaProfessional;
    private Integer phaProfessionalId;

    /** 类型 */
    @Excel(name = "类型",dictType = "pha_type")
    private Integer phaType;

    /** 审方数 */
    @Excel(name = "审方数")
    private Integer reviewCount;

    /** 认证状态 */
    @Excel(name = "认证状态",dictType = "is_audit")
    private Integer isAudit;

    /** 是否锁定 */
    @Excel(name = "是否锁定",dictType = "doc_lock_state")
    private Integer isLock;

    /** 法大大 */
    @Excel(name = "法大大认证状态",dictType = "is_audit_fa")
    private Integer isAuditFa;

    /** 删除时间 */
    private Integer deleteTime;

    private String idcardNo; //身份证号码
    private String idcardImg;//身份证图片
    private String idcardfanImg; //身份证反面
    private String signContent;//签名内容
    private String  professionalImg; //职业证书
    private Integer professionalState;//认证状态
    private Integer sex;

    /**
     * 用户唯一标识
     */
    private String token;
    /**
     * 过期时间
     */
    private Long expireTime;

    private String Verify_code; //验证码
    private Integer login_type;//登录的方式 0密码  1验证码


    public Integer getPhaProfessionalId() {
        return phaProfessionalId;
    }

    public void setPhaProfessionalId(Integer phaProfessionalId) {
        this.phaProfessionalId = phaProfessionalId;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public String getIdcardNo() {
        return idcardNo;
    }

    public void setIdcardNo(String idcardNo) {
        this.idcardNo = idcardNo;
    }

    public String getIdcardImg() {
        return idcardImg;
    }

    public void setIdcardImg(String idcardImg) {
        this.idcardImg = idcardImg;
    }

    public String getIdcardfanImg() {
        return idcardfanImg;
    }

    public void setIdcardfanImg(String idcardfanImg) {
        this.idcardfanImg = idcardfanImg;
    }

    public String getSignContent() {
        return signContent;
    }

    public void setSignContent(String signContent) {
        this.signContent = signContent;
    }

    public String getProfessionalImg() {
        return professionalImg;
    }

    public void setProfessionalImg(String professionalImg) {
        this.professionalImg = professionalImg;
    }

    public Integer getProfessionalState() {
        return professionalState;
    }

    public void setProfessionalState(Integer professionalState) {
        this.professionalState = professionalState;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getOpenid() {
        return openid;
    }

    public void setOpenid(String openid) {
        this.openid = openid;
    }

    public Integer getLogin_type() {
        return login_type;
    }

    public void setLogin_type(Integer login_type) {
        this.login_type = login_type;
    }

    public String getVerify_code() {
        return Verify_code;
    }

    public void setVerify_code(String verify_code) {
        Verify_code = verify_code;
    }

    public String getStoreName() {
        return storeName;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Long getExpireTime() {
        return expireTime;
    }

    public void setExpireTime(Long expireTime) {
        this.expireTime = expireTime;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setPharmacistName(String pharmacistName) 
    {
        this.pharmacistName = pharmacistName;
    }

    public String getPharmacistName() 
    {
        return pharmacistName;
    }
    public void setPharmacistAvatar(String pharmacistAvatar) 
    {
        this.pharmacistAvatar = pharmacistAvatar;
    }

    public String getPharmacistAvatar() 
    {
        return pharmacistAvatar;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }
    public void setPassword(String password) 
    {
        this.password = password;
    }

    public String getPassword() 
    {
        return password;
    }
    public void setStoreId(Integer storeId) 
    {
        this.storeId = storeId;
    }

    public Integer getStoreId() 
    {
        return storeId;
    }
    public void setPhaProfessional(String phaProfessional) 
    {
        this.phaProfessional = phaProfessional;
    }

    public String getPhaProfessional() 
    {
        return phaProfessional;
    }
    public void setPhaType(Integer phaType) 
    {
        this.phaType = phaType;
    }

    public Integer getPhaType() 
    {
        return phaType;
    }
    public void setReviewCount(Integer reviewCount) 
    {
        this.reviewCount = reviewCount;
    }

    public Integer getReviewCount() 
    {
        return reviewCount;
    }
    public void setIsAudit(Integer isAudit) 
    {
        this.isAudit = isAudit;
    }

    public Integer getIsAudit() 
    {
        return isAudit;
    }
    public void setIsLock(Integer isLock) 
    {
        this.isLock = isLock;
    }

    public Integer getIsLock() 
    {
        return isLock;
    }
    public void setIsAuditFa(Integer isAuditFa) 
    {
        this.isAuditFa = isAuditFa;
    }

    public Integer getIsAuditFa() 
    {
        return isAuditFa;
    }
    public void setDeleteTime(Integer deleteTime) 
    {
        this.deleteTime = deleteTime;
    }

    public Integer getDeleteTime() 
    {
        return deleteTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pharmacistName", getPharmacistName())
            .append("pharmacistAvatar", getPharmacistAvatar())
            .append("phone", getPhone())
            .append("password", getPassword())
            .append("storeId", getStoreId())
            .append("phaProfessional", getPhaProfessional())
            .append("phaType", getPhaType())
            .append("reviewCount", getReviewCount())
            .append("isAudit", getIsAudit())
            .append("isLock", getIsLock())
            .append("isAuditFa", getIsAuditFa())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("deleteTime", getDeleteTime())
            .toString();
    }
}
